package com.spzx.manager.service;

import com.github.pagehelper.PageInfo;
import com.spzx.model.entity.product.Brand;

import java.util.List;

/**
 * Project: spzx-parent
 * Package: com.spzx.manager.service
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/3/5 00:34
 */
public interface BrandService {
    //品牌查询
    PageInfo<Brand> findByPage(Integer page, Integer limit);

    //品牌添加
    void save(Brand brand);

    //品牌修改
    void updateById(Brand brand);

    //品牌删除
    void deleteById(Long id);

    //查询所有品牌
    List<Brand> findAll();
}
